package com.powernode.service;

import com.powernode.domain.Prod;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ProdService extends IService<Prod> {


    //新增商品
    Boolean saveProd(Prod prod);

    //修改商品
    Prod queryProdDetailById(Long prodId);

    //修改商品
    Boolean modifyProdInfo(Prod prod);

    //批量删除商品
    Integer removeProdsByIds(List<Long> prodIds);
}
